package scsc.web.xzgl.inspection.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import scsc.web.system.AppActionForm;
import scsc.web.xzgl.guardmember.data.GuardMemberData;

public class ConditionGuardMemberForm extends AppActionForm{
	
	private GuardMemberData data;
	private GuardMemberData conditionData;
	private String condition;

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public ConditionGuardMemberForm() {
		super();
		data=new GuardMemberData();
		conditionData=new GuardMemberData();
		condition=null;
		// TODO Auto-generated constructor stub
	}
	
	public GuardMemberData getConditionData() {
		return conditionData;
	}
	public void setConditionData(GuardMemberData conditionData) {
		this.conditionData = conditionData;
	}
	public GuardMemberData getData() {
		return data;
	}
	public void setData(GuardMemberData data) {
		this.data = data;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		data.reset();
		conditionData.reset() ;
		}
	public ActionErrors validate(
		ActionMapping mapping,
		HttpServletRequest request) {

		ActionErrors errors = new ActionErrors();

		return errors;

	}

}
